package com.nit.lab.vote.dto.vote;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class CandidateDTO {
    private Long key;
    private Long candidateId;
    private String candidateName;
    private String dept;
    private String employeeNumber;
    private String idNumber;
    private String fileAddr;
    private Long projectId;
    private String subLevel;
    private String workLevel;
    private Integer agree;
    private String type;
    private String subject;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date gmtCreate;

    public CandidateDTO() {
    }

    public CandidateDTO(Long key, Long candidateId, String candidateName, String dept, String employeeNumber, String idNumber, String fileAddr, Long projectId, String subLevel, String workLevel, Integer agree, String type, String subject, Date gmtCreate) {
        this.key = key;
        this.candidateId = candidateId;
        this.candidateName = candidateName;
        this.dept = dept;
        this.employeeNumber = employeeNumber;
        this.idNumber = idNumber;
        this.fileAddr = fileAddr;
        this.projectId = projectId;
        this.subLevel = subLevel;
        this.workLevel = workLevel;
        this.agree = agree;
        this.type = type;
        this.subject = subject;
        this.gmtCreate = gmtCreate;
    }

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public Long getCandidateId() {
        return candidateId;
    }

    public void setCandidateId(Long candidateId) {
        this.candidateId = candidateId;
    }

    public String getCandidateName() {
        return candidateName;
    }

    public void setCandidateName(String candidateName) {
        this.candidateName = candidateName;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getEmployeeNumber() {
        return employeeNumber;
    }

    public void setEmployeeNumber(String employeeNumber) {
        this.employeeNumber = employeeNumber;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getFileAddr() {
        return fileAddr;
    }

    public void setFileAddr(String fileAddr) {
        this.fileAddr = fileAddr;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getSubLevel() {
        return subLevel;
    }

    public void setSubLevel(String subLevel) {
        this.subLevel = subLevel;
    }

    public String getWorkLevel() {
        return workLevel;
    }

    public void setWorkLevel(String workLevel) {
        this.workLevel = workLevel;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Integer getAgree() {
        return agree;
    }

    public void setAgree(Integer agree) {
        this.agree = agree;
    }
}
